package com.ios.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class CallLog {
    private Integer id;

    private Integer disablerId;

    private Integer relativeId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDisablerId() {
        return disablerId;
    }

    public void setDisablerId(Integer disablerId) {
        this.disablerId = disablerId;
    }

    public Integer getRelativeId() {
        return relativeId;
    }

    public void setRelativeId(Integer relativeId) {
        this.relativeId = relativeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "CallLog{" +
                "id=" + id +
                ", disablerId=" + disablerId +
                ", relativeId=" + relativeId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}